package bg.ittalents.homework.airport;

public class Event {
	private String data;
	private int remainingTime;

	public String getData() {
		return data;
	}

	public int getRemainingTime() {
		return remainingTime;
	}

	public Event(String data, int remainingTime) {
		super();
		this.data = data;
		this.remainingTime = remainingTime;
	}
	
	public void decrementTime(){
		if(remainingTime>0){
			remainingTime--;
		}
	}

}
